home *** CD-ROM | disk | FTP | other *** search
/ The Utilities Experience / The Utilities Experience - Volume 1.iso / software / disk_tools / cd32goodies / savekick.c < prev   
C/C++ Source or Header  |  1978-06-29  |  392b  |  27 lines

  1. /*
  2.     kicksaver
  3.     
  4.     i just want to analyse the CD³² ROM, 
  5.     writing this comment took longer than
  6.     "programming" and compiling this - aeh -
  7.     program ;-)
  8. */
  9.  
  10. #include <exec/exec.h>
  11. #include <dos/dos.h>
  12. #include <proto/exec.h>
  13. #include <proto/dos.h>
  14.  
  15. int main (void)
  16. {
  17.     BPTR file;
  18.     
  19.     file = Open ("RAM:kickstart",MODE_NEWFILE);
  20.     
  21.     Write (file,(APTR)0xf80000,524288);
  22.     
  23.     Close(file);
  24.     
  25.     return 0;
  26. }
  27.